using JTZY.Model.Product.Dto;
using JTZY.Model.Product;

namespace JTZY.Service.Product.IProductService
{
    /// <summary>
    /// 货物表service接口
    /// </summary>
    public interface IProdinfoService : IBaseService<Prodinfo>
    {
        PagedInfo<ProdinfoDto> GetList(ProdinfoQueryDto parm);

        Prodinfo GetInfo(long Id);


        Prodinfo AddProdinfo(Prodinfo parm);
        int UpdateProdinfo(Prodinfo parm);
        Prodinfo GetProdinfoByCode(string snCode,string f="");
        Prodinfo GetProdinfoByNCode(string snCode);
        List<ProdDto> GetDetail(string orderId);
        List<ProdDto> GetAfterDetail(string aftersalesId);
    }
}
